// const beamcoder = require('beamcoder');
const beamcoder = require('D:\\jscode\\beamcoder-master\\build\\Release\\beamcoder.node');
let decs = beamcoder.decoders()

let videoDecoders = Object.values(decs).filter(x => x.id === 27).map(x => x.name);
console.log('videoDecoders', videoDecoders);

let audioDecoders = Object.values(decs).filter(x => x.codec_type === 'audio').map(x => x.name);
console.log('audioDecoders', audioDecoders);

let data = beamcoder.bsfs();
console.log(data);
